import * as types from './ActionTypes.js';
import { createAction } from 'redux-actions';
import {fetchRequest} from '../util/fetch';

//查看简历详情
export const SelResumeInfoComAction = createAction(types.SEL_RESUMEINFOCOM,(data)=>{
    return fetchRequest('Resume/selResumeInfoComMob.go','POST',data);
});

//20171214-王继顺
//移动端-职位管理-投递人数
export const SelResumeByPosAction = createAction(types.SEL_RESUMEBYPOS, (data) => {
    return fetchRequest('Resume/selResumeByPos.go', 'POST', data);
});

//查看投递的简历
export const SelStateMobAction = createAction(types.SEL_STATE_MOB,(data)=>{
    return fetchRequest('PostionSend/selByStateMob.go','POST',data);
});

//搜索简历
export const SelResumeByConditionsAction = createAction(types.SEL_RESUME_CONDITONS,(data)=>{
    return fetchRequest('Resume/selResumeByConditionsMob.go','POST',data);
});